/////////////////////////////////////////////////////////
// Timer_Windows
// The timer is responsible for calculating the elapsed
// time.
/////////////////////////////////////////////////////////

#ifndef TIMER_WINDOWS
#define TIMER_WINDOWS

#include <GL\freeglut.h>
#include "..\framework\frm_Timer.h"

#define WRAP 0xFFFFFFFF

class Timer_Windows : public Frm::Timer{
	public:
      static Frm::Timer* GetInstance(void);
      void InitTimer(uint16 index=0){_old[index] = GetTickCount(); _new[index] = _old[index];};
      inline uint32 GetTime(uint16 index=0);
};

#endif
